package java_basic.t1_objectandclasses;

public class EmployeeTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//Create two objects using constructor
		Employee empOne = new Employee("James Smith");
		Employee empTwo = new Employee("Mary Anne");
		
		//Invoking methods for each object created
		empOne.empAge(26);
		empOne.empDesignation("Senior software engineer");
		empOne.empSalary(1000);
		empOne.printEmployee();
		
		empTwo.empAge(21);
		empTwo.empDesignation("Software engineer");
		empTwo.empSalary(500);
		empTwo.printEmployee();

	}

}
